package spring.angularjs.domain.json;

// Generated Oct 27, 2014 1:40:02 PM by Hibernate Tools 3.4.0.CR1

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import spring.angularjs.domain.Account;
import spring.angularjs.domain.Statustransaction;

/**
 * Transaction generated by hbm2java
 */

public class TransactionJson implements java.io.Serializable {

	private String idtransaction;
	private String idstatustransaction;
	private String idaccountByIdAccountReceive;
	private String idaccountByIdAccountSent;
	private String idCustomerSent;
	private String isCustomerReceive;
	private Date datetransaction;
	private String amount;
	private String statusreport;
	private Set<Integer> idreporttransactions = new HashSet<Integer>(0);

	public TransactionJson() {
	}

	public TransactionJson(String idtransaction,
			String statustransaction,
			String accountByIdAccountReceive, String accountByIdAccountSent,
			String idCustomerSent, String isCustomerReceive,
			Date datetransaction, String amount, String statusreport) {
		this.idtransaction = idtransaction;
		this.idstatustransaction = statustransaction;
		this.idaccountByIdAccountReceive = accountByIdAccountReceive;
		this.idaccountByIdAccountSent = accountByIdAccountSent;
		this.idCustomerSent = idCustomerSent;
		this.isCustomerReceive = isCustomerReceive;
		this.datetransaction = datetransaction;
		this.amount = amount;
		this.statusreport = statusreport;
	}

	
	public TransactionJson(String idtransaction, String idstatustransaction,
			String idaccountByIdAccountReceive,
			String idaccountByIdAccountSent, String idCustomerSent,
			String isCustomerReceive, Date datetransaction, String amount,
			String statusreport, Set<Integer> idreporttransactions) {
		super();
		this.idtransaction = idtransaction;
		this.idstatustransaction = idstatustransaction;
		this.idaccountByIdAccountReceive = idaccountByIdAccountReceive;
		this.idaccountByIdAccountSent = idaccountByIdAccountSent;
		this.idCustomerSent = idCustomerSent;
		this.isCustomerReceive = isCustomerReceive;
		this.datetransaction = datetransaction;
		this.amount = amount;
		this.statusreport = statusreport;
		this.idreporttransactions = idreporttransactions;
	}

	public String getIdtransaction() {
		return idtransaction;
	}

	public void setIdtransaction(String idtransaction) {
		this.idtransaction = idtransaction;
	}

	public String getIdstatustransaction() {
		return idstatustransaction;
	}

	public void setIdstatustransaction(String idstatustransaction) {
		this.idstatustransaction = idstatustransaction;
	}

	public String getIdaccountByIdAccountReceive() {
		return idaccountByIdAccountReceive;
	}

	public void setIdaccountByIdAccountReceive(
			String idaccountByIdAccountReceive) {
		this.idaccountByIdAccountReceive = idaccountByIdAccountReceive;
	}

	public String getIdaccountByIdAccountSent() {
		return idaccountByIdAccountSent;
	}

	public void setIdaccountByIdAccountSent(String idaccountByIdAccountSent) {
		this.idaccountByIdAccountSent = idaccountByIdAccountSent;
	}

	public String getIdCustomerSent() {
		return idCustomerSent;
	}

	public void setIdCustomerSent(String idCustomerSent) {
		this.idCustomerSent = idCustomerSent;
	}

	public String getIsCustomerReceive() {
		return isCustomerReceive;
	}

	public void setIsCustomerReceive(String isCustomerReceive) {
		this.isCustomerReceive = isCustomerReceive;
	}

	public Date getDatetransaction() {
		return datetransaction;
	}

	public void setDatetransaction(Date datetransaction) {
		this.datetransaction = datetransaction;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getStatusreport() {
		return statusreport;
	}

	public void setStatusreport(String statusreport) {
		this.statusreport = statusreport;
	}

	public Set<Integer> getIdreporttransactions() {
		return idreporttransactions;
	}

	public void setIdreporttransactions(Set<Integer> idreporttransactions) {
		this.idreporttransactions = idreporttransactions;
	}

}
